<?php
/**
 * Created by PhpStorm.
 * User: yangsen
 * Date: 15/7/1
 * Time: 下午2:39
 */

?>
<section class="ui-panel">
    <h2 class="ui-arrowlink">猜你喜欢<span class="ui-panel-subtitle">1328条</span></h2>
    <ul class="ui-grid-trisect">
        <li>
            <div class="ui-border">
                <div class="ui-grid-trisect-img">
                    <span style="background-image:url(<?=$detail['picurl']?>)"></span>
                </div>
                <div class="ui-txt-padding">
                    <h4 class="ui-nowrap-multi"><?=$detail['title']?></h4>
                    <h5 class="ui-nowrap">￥<?=$detail['price']/100?></h5>

                    <?php if(!in_array($detail['id'],$historyorder)): ?>
                        <a class="ui-btn" href="./pay/makeorder/<?=$detail['id']?>/<?=$_SESSION['openid']?>">想要,发起众筹</a>
                    <?php endif;?>
                    <a class="ui-btn" href="./user/myorder">我的已发列表</a>
                </div>
            </div>
        </li>
    </ul>
</section>